
using Qdb.Tests.Common.Api;

namespace Qdb.Tests.Common.Defragment
{
	public class DefragmentTestCaseBase : QdbTestWithTempFile
	{
		protected virtual string SourceFile()
		{
			return TempFile();
		}

		protected virtual string BackupFile()
		{
			return BackupFileNameFor(TempFile());
		}

		public static string BackupFileNameFor(string file)
		{
			return file + ".backup";
		}
	}
}
